package com.ding.domain.Repository;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ding.api.dto.InsertUserDTO;
import com.ding.domain.entity.Score;
import com.ding.domain.entity.Student;

import java.util.ArrayList;
import java.util.List;

/**
* @author ding
* @description 针对表【student】的数据库操作Service
* @createDate 2023-03-23 20:05:57
*/
public interface StudentRepository extends IService<Student> {

    List<Student> getAllStudent();

    Boolean updateStudent(String id, String name);

    Boolean deleteStudentById(String id);

    Boolean insertStudent(InsertUserDTO dto);
    List<Score> getScoreByUserName(String name);

    List<Student> listStudent(ArrayList<String> s);

    Student testIf(String name);

    List<Student> getStudentByTeacherId(String id);

    Boolean multiInsert(List<InsertUserDTO> list);
}
